how to see php error log

39

ini_set("log_errors", 1); // Enable error logging
ini_set("error_log", "/tmp/php-error.log"); // set error path
error_log( "Hello, errors!" ); // log a test error
/usr/local/apache/logs/error_log

Comments

Submit
0 Comments